package com.hone.honewed.controller.head;

import com.eig.common.vo.Result;
import com.hone.honewed.service.head.HeadService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：YQ袁（2446806940@qq.com）
 * @date ：Created in 2022/12/28 18:16
 * @description：
 * @modified By：
 * @version:
 */
@RequestMapping("home/qian/head")
@RestController
@Api(value = "前端导航栏")
public class HeadController {
    @Autowired
    private HeadService headService;

    @GetMapping("/getAllHead")
    public Result getAllHead(){
        return headService.getAllHead();
    }
}
